import { Entity,PrimaryGeneratedColumn,Column } from "typeorm";
import { BaseEntity } from "src/entities/base.entity";
@Entity()
export class Post extends BaseEntity {
    @PrimaryGeneratedColumn()
    post_id:number;

    @Column({
        comment:'岗位编码'
    })
    post_code:string;

    @Column({
        comment:'岗位名称'
    })
    post_name:string;

    @Column({
        comment:'显示顺序'
    })
    post_sort:number;

    @Column({
        default:'0',
        comment:'状态（0正常 1停用）'
    })
    status:string;
}
